<div id="container" class="transitions-enabled infinite-scroll clearfix">
   <?php echo $details;?>
</div> <!-- #container -->
<nav id="page-nav">sdfsdf
  <?php echo $pagination_link;?>
 
</nav>
